package com.qianya.model.pojo.login.qo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.qianya.model.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author lhl
 * @since 2020-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LoginUsersQO传入对象", description="用户")
public class LoginUsersQO extends BaseEntity {

    private static final long serialVersionUID = -4636932978509497410L;

    @ApiModelProperty(value = "用户id")
    @JsonProperty(value = "uId" )
    private String uId;

    @ApiModelProperty(value = "用户名")
    @TableField("U_USERNAME")
    @JsonProperty(value = "uUsername")
    private String uUsername;

    @ApiModelProperty(value = "用户密码")
    @TableField("U_PASSWORD")
    @JsonProperty(value = "uPassword")
    private String uPassword;

    @ApiModelProperty(value = "姓名")
    @TableField("U_NICKNAME")
    @JsonProperty("uNickname" )
    private String uNickname;

    @ApiModelProperty(value = "状态 0正常1冻结2删除")
    @TableField("U_STATUS")
    private Integer uStatus;

    @ApiModelProperty(value = "部门名称")
    private  String deptName;

    @ApiModelProperty(value = "角色名称")
    private  String  roleName;
}
